package com.example.project.service.serviceimpl;

import com.example.project.mapper.TwoMapper;
import com.example.project.pojo.Two;
import com.example.project.service.TwoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TwoServiceImpl implements TwoService {

    @Autowired
    TwoMapper twoMapper;

    public List<Two> selectByTeacherName(String teacherName){
        return twoMapper.selectByTeacherName(teacherName);
    }
}
